package cn.fivestars.springcloud.payment.serivce;

import cn.fivestars.springcloud.commons.entities.Payment;

/**
 * PaymentService
 *
 * @author liangchenzhou1024 @163.com
 * @date 2021 /2/1
 */
public interface PaymentService {
    /**
     * Insert Payment
     *
     * @param payment payment
     * @return the int
     */
    int insert(Payment payment);

    /**
     * Select Payment by id
     *
     * @param id id
     * @return the payment
     */
    Payment selectById(Long id);

}
